package com.dog.basics.service.sys;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.dog.basics.bean.dto.admin.sys.DictAddDto;
import com.dog.basics.bean.dto.admin.sys.DictEditDto;
import com.dog.basics.bean.model.sys.Dict;
import com.dog.basics.bean.vo.admin.sys.DictInfoVo;
import com.dog.basics.bean.vo.admin.sys.DictPageVo;
import com.dog.basics.common.util.PageParam;

import java.util.List;

/**
 * <p>
 * 基础字典 服务类
 * </p>
 *
 * @author guoy
 * @since 2020-03-27
 */
public interface IDictService extends IService<Dict> {
    /**
     * @Description:  分页列表
     * @Param:  phone
     * @return:  IPage<AppVersionPageVo>
     * @Author: wph
     * @Date: 2020/3/27 0027
     */
    IPage<DictPageVo> getPageList(PageParam page);


    /**
     * @Description:  增加
     * @Param:  dictTypeAddVo
     * @return:  Boolean
     * @Author: wph
     * @Date: 2020/3/27 0027
     */
    Boolean saveObj(DictAddDto dictAddDto);

    /**
     * @Description:  修改
     * @Param:  ictTypeEditVo
     * @return:  Boolean
     * @Author: wph
     * @Date: 2020/3/27 0027
     */
    Boolean editObj(DictEditDto dictEditDto);


    /**
     * @Description:  删除
     * @Param:  ids
     * @return:  Boolean
     * @Author: wph
     * @Date: 2020/3/27 0027
     */
    Boolean deleteObj(List<Long> ids);

    /**
     * @Description:  查看
     * @Param:  id
     * @return:  AppVersionInfoVo
     * @Author: wph
     * @Date: 2020/3/27 0027
     */
    DictInfoVo info(Long id);
}
